package com.jie.langlangmall.portal.service;

import com.jie.langlangmall.portal.domain.MemberReadHistory;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @Author Jie
 * @Date 2024/11/27
 * @Email 3217998214@qq.com
 * @Description 会员商品浏览记录
 */
public interface MemberReadHistoryService {

    /**
     * 添加浏览记录
     *
     * @param memberReadHistory
     */
    void create(MemberReadHistory memberReadHistory);

    void delete(List<String> ids);

    void clear();

    Page<MemberReadHistory> list(Integer pageNum, Integer pageSize);
}
